<!DOCTYPE html>
<svg>
  <defs>
    <rect id="red" width="100" height="100" fill="red"/>
    <rect id="green" width="100" height="100" fill="green"/>
  </defs>
  <use xlink:href="#red" href="#green"/>
</svg>
